import request from '../../../utils/request.js'

//获得某一角色权限接口
export const listAllSysModuleByCondition = (roleName) => {
    return request({
        url: `/sysmodule/listAllSysModuleByCondition/${roleName}`,
        method: 'get',
    })
}
//编辑授权
export const editSysRoleModuleByCondition = (RoleModule) => {
    return request({
        url: `/sysrolemodule/editSysRoleModuleByCondition`,
        method: 'put',
		data:RoleModule
    })
}